<template>
  <div>
    <b-card>
      <b-card-body v-html="content.value" />
    </b-card>
  </div>
</template>

<script>

import { getEditData } from '@/api/contentConfig/index'

export default {
  name: 'NewsType',
  props: {
    contentId: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
      content: {}
    }
  },
  created() {
    getEditData(this.contentId).then(res => {
      this.content = res.data
    })
  }
}
</script>

<style scoped>

</style>
